import request from '@/utils/request'

export function adminList(data) {
  return request({
    url: '/conclusion/admin/list',
    method: 'get',
    params: data
  })
}

export function leaderList(data) {
  return request({
    url: '/conclusion/leader/list',
    method: 'get',
    params: data
  })
}

export function getOne(id) {
  const data = { id: id }
  return request({
    url: '/conclusion/one',
    method: 'get',
    params: data
  })
}

export function review(data) {
  return request({
    url: '/conclusion/admin/review',
    method: 'post',
    params: data
  })
}
